package com.archives.blog.web.routers;

public enum ErpRouters {

	index("/erp/common/content", "", "欢迎使用 BOLG 管理后台"),
	article_view("/erp/article/view", "/component/erp/article/view.js", "文章列表"),
	article_channel_view("/erp/article/channel_view", "/component/erp/article/channel_view.js", "频道列表"),
	article_add("/erp/article/add", "/component/erp/article/add.js", "发表文章"),
	admin_view("/erp/admin/view", "/component/erp/admin/view.js", "管理员管理"),
	
	login("/erp/login", "", "管理员管理"),

	error("/error", "", "错误页面")
	
	;
	
	private ErpRouters(String path,String componentPath, String desc){
		this.url = "/erp/" + this.name();
		this.path = path;
		this.componentPath = componentPath;
		this.desc = desc;
	}
	
	private String url;
	
	private String path;
	
	private String componentPath;
	
	private String desc;

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @return the componentPath
	 */
	public String getComponentPath() {
		return componentPath;
	}
	
}
